package cn.izeno.wx.models.web

import cn.izeno.wx.service.WebWxApp
import com.alibaba.fastjson.annotation.JSONField

class NotifyParam {
  @JSONField(name = "BaseRequest")
  var base = BaseParam()

  @JSONField(name = "Code")
  val code = 3

  @JSONField(name = "FromUserName")
  var fromUser: String = WebWxApp.user.username

  @JSONField(name = "ToUserName")
  var toUser: String = WebWxApp.user.username

  @JSONField(name = "ClientMsgId")
  var clientMsgId = System.currentTimeMillis()
}